<template>
	<div class="hello" >
		<button @click="theGetName">测试</button>

	</div>

</template>
<script>
import {getName} from "../assets/index.js";
	export default {
  	name: 'swiper',
  	data() {
		return {
			swiperOption: {
				autoplay: 3000,
				grabCursor: true,
				setWrapperSize: true,
				autoHeight: true,
				pagination: '.swiper-pagination',
				paginationClickable: true,
				prevButton: '.swiper-button-prev',
				nextButton: '.swiper-button-next',
				mousewheelControl: true,
				observeParents: true,
				loop: true
			}

		}
	},
	methods:{
		theGetName(){
			console.log(getName);
		}
	}
}
</script>
<style></style>